package app.game.level;

import android.graphics.Canvas;
import android.graphics.Paint;
import app.game.common.Asteroids;
import ryulib.game.GameControlGroup;
import ryulib.game.GamePlatformInfo;

public class GameLevel01 extends GameLevel {

	public GameLevel01(GameControlGroup gameControlGroup) {
		super(gameControlGroup);

	}

	private Canvas _Canvas = null;
	private Paint _Paint = null;
	
	private Asteroids _Asteroids = null;

	@Override
	public void doActionIn() {
		_Asteroids = new Asteroids(getGameControlGroup());
		getGameControlGroup().addControl(_Asteroids);
	}
	
	@Override
	public void doActionOut() {
		_Asteroids.delete();
		_Asteroids = null;
	}

	@Override
	protected void onStart(GamePlatformInfo platformInfo) {
		_Canvas = platformInfo.getCanvas();
		_Paint = platformInfo.getPaint();
	}

	@Override
	protected void onDraw(GamePlatformInfo platformInfo) {
		//
	}
	
}
